package com.eshop.modules.product.service.dto;

import com.eshop.annotation.Query;

public class StoreProductQueryCriteria
{
    @Query(type = Query.Type.INNER_LIKE)
    private String storeName;
    @Query
    private Integer isDel;
    @Query
    private Integer isShow;
    @Query
    private Integer cateId;
    @Query
    private Integer isIntegral;
    
    public String getStoreName() {
        return this.storeName;
    }
    
    public Integer getIsDel() {
        return this.isDel;
    }
    
    public Integer getIsShow() {
        return this.isShow;
    }
    
    public Integer getCateId() {
        return this.cateId;
    }
    
    public Integer getIsIntegral() {
        return this.isIntegral;
    }
    
    public void setStoreName(final String storeName) {
        this.storeName = storeName;
    }
    
    public void setIsDel(final Integer isDel) {
        this.isDel = isDel;
    }
    
    public void setIsShow(final Integer isShow) {
        this.isShow = isShow;
    }
    
    public void setCateId(final Integer cateId) {
        this.cateId = cateId;
    }
    
    public void setIsIntegral(final Integer isIntegral) {
        this.isIntegral = isIntegral;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof StoreProductQueryCriteria)) {
            return false;
        }
        final StoreProductQueryCriteria other = (StoreProductQueryCriteria)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$isDel = this.getIsDel();
        final Object other$isDel = other.getIsDel();
        Label_0065: {
            if (this$isDel == null) {
                if (other$isDel == null) {
                    break Label_0065;
                }
            }
            else if (this$isDel.equals(other$isDel)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$isShow = this.getIsShow();
        final Object other$isShow = other.getIsShow();
        Label_0102: {
            if (this$isShow == null) {
                if (other$isShow == null) {
                    break Label_0102;
                }
            }
            else if (this$isShow.equals(other$isShow)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$cateId = this.getCateId();
        final Object other$cateId = other.getCateId();
        Label_0139: {
            if (this$cateId == null) {
                if (other$cateId == null) {
                    break Label_0139;
                }
            }
            else if (this$cateId.equals(other$cateId)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$isIntegral = this.getIsIntegral();
        final Object other$isIntegral = other.getIsIntegral();
        Label_0176: {
            if (this$isIntegral == null) {
                if (other$isIntegral == null) {
                    break Label_0176;
                }
            }
            else if (this$isIntegral.equals(other$isIntegral)) {
                break Label_0176;
            }
            return false;
        }
        final Object this$storeName = this.getStoreName();
        final Object other$storeName = other.getStoreName();
        if (this$storeName == null) {
            if (other$storeName == null) {
                return true;
            }
        }
        else if (this$storeName.equals(other$storeName)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof StoreProductQueryCriteria;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $isDel = this.getIsDel();
        result = result * 59 + (($isDel == null) ? 43 : $isDel.hashCode());
        final Object $isShow = this.getIsShow();
        result = result * 59 + (($isShow == null) ? 43 : $isShow.hashCode());
        final Object $cateId = this.getCateId();
        result = result * 59 + (($cateId == null) ? 43 : $cateId.hashCode());
        final Object $isIntegral = this.getIsIntegral();
        result = result * 59 + (($isIntegral == null) ? 43 : $isIntegral.hashCode());
        final Object $storeName = this.getStoreName();
        result = result * 59 + (($storeName == null) ? 43 : $storeName.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "StoreProductQueryCriteria(storeName=" + this.getStoreName() + ", isDel=" + this.getIsDel() + ", isShow=" + this.getIsShow() + ", cateId=" + this.getCateId() + ", isIntegral=" + this.getIsIntegral() + ")";
    }
}
